<?php

abstract class HTML_Fluent_XHTML_Element_Base_PARAM extends HTML_Fluent_Element {

    /**
     * The name of this element
     *
     * @return string
     */
    public function getName() {
        return 'param';
    }

    protected $attributes = array(
        'id' => null,
        'name' => null,
        'type' => null,
        'value' => null,
        'valuetype' => null,
    );


    /**
     * Set the value of the 'id' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_PARAM
     */
    public function id($value) {
        return $this->setAttribute('id', $value);
    }

    /**
     * Set the value of the 'name' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_PARAM
     */
    public function name($value) {
        return $this->setAttribute('name', $value);
    }

    /**
     * Set the value of the 'type' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_PARAM
     */
    public function type($value) {
        return $this->setAttribute('type', $value);
    }

    /**
     * Set the value of the 'value' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_PARAM
     */
    public function value($value) {
        return $this->setAttribute('value', $value);
    }

    /**
     * Set the value of the 'valuetype' attribute.
     *
     * @param string|null $value
     * @return HTML_Fluent_XHTML_Element_PARAM
     */
    public function valuetype($value) {
        return $this->setAttribute('valuetype', $value);
    }

}
